import request from '@/utils/request'



// 查询历史报告
export function queryInspectionTemplate(inspectionTemplate) {
    return request({
        url: '/inspectionController/queryInspectionTemplate',
        method: 'post',
        data: inspectionTemplate
    })
}



// 查询历史报告
export function queryInspectionTemplateById(inspectionTemplate) {
  return request({
    url: '/inspectionController/queryInspectionTemplateById',
    method: 'post',
    data: inspectionTemplate
  })
}


export function queryInspectionAdgTemplate(zz) {
  return request({
    url: '/inspectionController/queryInspectionAdgTemplate',
    method: 'post',
    data: zz
  })
}
// 查询历史报告
export function queryInspectionTaskTemplateById(inspectionTemplate) {
  return request({
    url: '/inspectionController/queryInspectionTaskTemplateById',
    method: 'post',
    data: inspectionTemplate
  })
}

// 查询双活工具
export function queryInspectionAdgTemplateById(inspectionTemplate) {
  return request({
    url: '/inspectionController/queryInspectionAdgTemplateById',
    method: 'post',
    data: inspectionTemplate
  })
}
export function addInspectionTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/addInspectionTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}

export function addInspectionAdgTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/addInspectionAdgTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}
export function addInspectionTaskTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/addInspectionTaskTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}
export function delInspectionTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/delInspectionTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}
export function delInspectionTaskTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/delInspectionTaskTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}


export function updInspectionTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/updInspectionTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}
//双活修改
export function scInspectionAdgTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/scInspectionAdgTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}

export function scInspectionQhTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/scInspectionQhTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}
export function updInspectionTaskTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/updInspectionTaskTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}
//镜像复制
export function copyInspectionTaskTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/copyInspectionTaskTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}

//双活删除
export function delInspectionAdgTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/delInspectionAdgTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}

export function scInspectionTaskTemplate(inspectionReport) {
  return request({
    url: '/inspectionController/scInspectionTaskTemplate',
    method: 'post',
    data: inspectionReport
  })
}


export function queryInspectionTaskTemplate(inspectionTemplate) {
  return request({
    url: '/inspectionController/queryInspectionTaskTemplate',
    method: 'post',
    data: inspectionTemplate
  })
}

export function queryInspectionReportTemplate(inspectionReport) {
  return request({
    url: '/inspectionController/queryInspectionReportTemplate',
    method: 'post',
    data: inspectionReport
  })
}

